//
//  PlayerViewController.h
//  MP3Player
//
//  Created by kci yoo on 8/15/11.
//  Copyright 2011 Daum Communications. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "PlayerView.h"
#import "OKModalViewController.h"
#import <AVFoundation/AVAudioPlayer.h>
typedef enum
{
    PLAYER_STATE_PLAYING=1,
    PLAYER_STATE_STOPPED=0,
    PLAYER_STATE_BUFFERING=2,
    PLAYER_STATE_PAUSED=3,
    PlayerStateEnd
}
PlayerState;


@interface PlayerViewController: UIViewController<UIAlertViewDelegate> 
{
    PlayerState state;
    
    AVAudioPlayer * player;
    
    NSTimer *timer;
    
}
@end
